package com.mall.service;

import com.mall.common.ServerResponse;
import com.mall.pojo.Cart;
import com.mall.vo.OrderProductVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by xiaoyao on 2017/8/31.
 */
public interface IOrderService {
    ServerResponse createOrder(Integer userId, Integer shippingId);

    ServerResponse createParamOrder(Integer userId,Integer shippingId,String cartIds,BigDecimal orderPrice);

    ServerResponse<String> cancelOrder(Integer userId, Long orderNo);

    ServerResponse<OrderProductVo> getCartCheckedProductOrder(Integer userId);

    ServerResponse getlist(Integer userId, Integer pageNum, Integer pageSize);

    ServerResponse getdetail(Integer userId, long orderNo);

    ServerResponse manageList(Integer pageNum, Integer pageSize);

    ServerResponse manageDetail(long orderNo);

    ServerResponse manageSearch(long orderNo, Integer pageNum, Integer pageSize);

    ServerResponse<String> manageSendGoods(Long ordereNo);
}
